package com.jubaozan.service.platform.vo;

import com.jubaozan.feign.user.constants.UserTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @ClassName TeamInfoVO
 * @Description 团长升级资料上传
 * @Author SunWei
 * @Version 1.0
 **/
@Data
@ApiModel(value = "团长资料上传实体对象", description = "团长资料上传实体对象")
public class TeamInfoVO {

    @NotNull(message = "appid不能为空")
    @ApiParam(value = "appid", example = "appid")
    private String appid;

    @NotNull(message = "openid不能为空")
    @ApiParam(value = "openid", example = "openid")
    private String openid;

    @NotNull(message = "昵称不能为空")
    @ApiParam(value = "昵称", example = "昵称")
    private String nick;

    @NotNull(message = "用户图像不能为空")
    @ApiParam(value = "用户图像", example = "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3926407720,2167302872&fm=26&gp=0.jpg")
    private String avatar;

    @ApiModelProperty(value = "unionid")
    @NotNull(message = "unionid不能为空")
    @ApiParam(value = "unionid", example = "oqXaH0_pMwRsvVK9YSrbbV-v0BE0")
    private String unionid;

    @NotNull(message = "手机号码不能为空")
    @ApiParam(value = "手机号码", example = "18569596673")
    private String mobile;

    @NotNull(message = "用户类型不能为空")
    @ApiParam(value = "用户类型", example = "MOBILE")
    private UserTypeEnum type;

    @NotNull(message = "微信截图")
    @ApiModelProperty(value = "微信截图")
    private String images;

    @NotNull(message = "用户姓名")
    @ApiParam(value = "用户姓名", example = "用户姓名")
    private String name;

    @NotNull(message = "平台id不能为空")
    @ApiParam(value = "平台id", example = "平台id")
    private Long storeId;

    @NotNull(message = "权重不能为空")
    @ApiParam(value = "升级权重", example = "升级权重")
    private Integer weight;

    @NotNull(message = "等级名称不能为空")
    @ApiParam(value = "等级名称", example = "等级名称")
    private String levelName;


}
